//! Implementation of the FilledShapeFactory-class
/*!
\file FilledShapeFactory.cpp
\author Thomas Pfeiffer
\date 13.11.2012
*/
#include <string>

#include "FilledShapeFactory.h"
#include "FilledCircle.h"
#include "FilledRectangle.h"

Shape* FilledShapeFactory::createCircle(TPosition const& origin, float const& radius, std::string const& color)
{
	return new FilledCircle(origin, radius, color);
}

Shape* FilledShapeFactory::createRectangle(TPosition const& origin, TSize const& size, std::string const& color)
{
	return new FilledRectangle(origin, size, color);
}